package com.eastdigit.shiro.authc;

import org.apache.shiro.authc.UsernamePasswordToken;

public class StateToken extends UsernamePasswordToken {

    private static final long serialVersionUID = 1L;

    private String captcha;
    
    private boolean isWhBusUserLogin;

    public String getCaptcha() {
        return captcha;
    }

    public void setCaptcha(String captcha) {
        this.captcha = captcha;
    }

	public boolean isWhBusUserLogin() {
		return isWhBusUserLogin;
	}

	public void setWhBusUserLogin(boolean isWhBusUserLogin) {
		this.isWhBusUserLogin = isWhBusUserLogin;
	}

	public StateToken(String username, char[] password, boolean rememberMe, String host, String captcha) {
        super(username, password, rememberMe, host);
        this.captcha = captcha;
    }

}
